// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeTasksResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeTasksResponse::DescribeTasksResponse() {
}

const string& DescribeTasksResponse::TaskProgressInfo::GetDBName(void) const {
  return DBName_;
}

const string& DescribeTasksResponse::TaskProgressInfo::GetBeginTime(void) const {
  return BeginTime_;
}

const string& DescribeTasksResponse::TaskProgressInfo::GetProgressInfo(void) const {
  return ProgressInfo_;
}

const string& DescribeTasksResponse::TaskProgressInfo::GetFinishTime(void) const {
  return FinishTime_;
}

const string& DescribeTasksResponse::TaskProgressInfo::GetTaskAction(void) const {
  return TaskAction_;
}

const string& DescribeTasksResponse::TaskProgressInfo::GetTaskId(void) const {
  return TaskId_;
}

const string& DescribeTasksResponse::TaskProgressInfo::GetProgress(void) const {
  return Progress_;
}

const string& DescribeTasksResponse::TaskProgressInfo::GetExpectedFinishTime(void) const {
  return ExpectedFinishTime_;
}

const string& DescribeTasksResponse::TaskProgressInfo::GetStatus(void) const {
  return Status_;
}

const std::vector<DescribeTasksResponse::TaskProgressInfo>& DescribeTasksResponse::GetItems(void) const {
  return Items_;
}

int DescribeTasksResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeTasksResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeTasksResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeTasksResponse::BaseKey(void) {
  return "DescribeTasksResponse";
}

void DescribeTasksResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeTasksResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].BeginTime_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].BeginTime");
      UnmarshallerString(Items_[i1].ProgressInfo_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].ProgressInfo");
      UnmarshallerString(Items_[i1].FinishTime_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].FinishTime");
      UnmarshallerString(Items_[i1].TaskAction_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].TaskAction");
      UnmarshallerString(Items_[i1].TaskId_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].TaskId");
      UnmarshallerString(Items_[i1].Progress_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].Progress");
      UnmarshallerString(Items_[i1].ExpectedFinishTime_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].ExpectedFinishTime");
      UnmarshallerString(Items_[i1].Status_, response_map, "DescribeTasksResponse.Items["+string_ValueOfInt(i1)+"].Status");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeTasksResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeTasksResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeTasksResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
